package com.neborosoft.lib.collections.list;

import java.util.AbstractList;
import java.util.List;

/**
 * Project: FlyingDog
 * User: stikhonenko
 * Date: 12/10/12
 * Time: 4:47 PM
 */
public abstract class MutableList<T> extends AbstractList<T>{
    protected abstract List<T> getList();

    @Override
    public T get(int i) {
        return getList().get(i);
    }

    @Override
    public int size() {
        return getList().size();
    }
}
